# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = 'Linux Knowledge Miscellany'
copyright = '2024, lwf'
author = 'lwf，文心一言 3.5，...'
release = 'v0.1'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = []

templates_path = ['_templates']
exclude_patterns = []

language = 'zh_CN'

# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static/']

# conf.py
extensions = [
    #'sphinx.ext.mathjax'
    'sphinx.ext.mathjax'
]
#imgmath_image_format = 'svg'  # 可以是 'png', 'svg', 'pdf', 'svg+xml' 等

# 配置MathJax以支持LaTeX
#https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
mathjax_path = 'https://cdn.staticfile.net/mathjax/3.2.2/es5/tex-mml-chtml.min.js'
